﻿@using Single_SignOn.Areas.PDA.Models
@using Single_SignOn.Models
@using Single_SignOn.ResX
@model IEnumerable<Single_SignOn.Areas.PDA.Models.Language>
<table style="width: 100%" class="right">
    <tr>
        <td style="width: 100%;vertical-align: middle; font-weight: bolder;" class="right">
            @{ 
                <ul class="toggle">
                   @foreach (Language _models in Model)
                    {
                        string _mode = ((@_models.Name == @ViewBag.Language) ? "selected" : "unselected");
                        <li class="@_mode">
                            <a href="@Html.AttributeEncode(Url.Action("ChangeLanguage", "ApplicationList"))?company=@ViewBag.CompanyName&language=@_models.Name" >
                                @_models.Description
                            </a>
                        </li>
                    }
                     <li ><a  style="width: 80px; background-color: transparent;"><h5>@ResourceTools.GetResource("Resource", "Language")  :</h5></a></li>
                </ul>
            } 

        </td>
    </tr>
</table>
